\ActivityOptionController

Summary

Methods
Properties
Constants
accessRules()
actionIndex()
actionInlineUpdate()
filters()
loadModel()
actionDelete()
actionTest()
$layout
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$layout

$layout : string

Type

string — the default layout for the views. Defaults to '//layouts/column2', meaning using two-column layout. See 'protected/views/layouts/column2.php'.

Methods

accessRules()

accessRules() : array

Specifies the access control rules.

This method is used by the 'accessControl' filter.

Returns

array —

access control rules

actionIndex()

actionIndex() : mixed

Lists all models.

Returns

mixed —

actionInlineUpdate()

actionInlineUpdate() : mixed

Updates a field in the model.

Returns

mixed —

filters()

filters() : array

Returns

array —

action filters

loadModel()

loadModel(int  $id) : \Deposit

Returns the data model based on the primary key given in the GET variable.

If the data model is not found, an HTTP exception will be raised.

Parameters

int $id

the ID of the model to be loaded

Throws

\CHttpException

a 404 if no profile could be found for the identifier given

Returns

\Deposit —

the project found by the identifier given

actionDelete()

actionDelete(int  $id) : mixed

Deletes a particular model.

If deletion is successful, the browser will be redirected to the 'admin' page.

Parameters

int $id

the ID of the model to be deleted

Returns

mixed —

actionTest()

actionTest() : mixed

Returns

mixed —